package com.csjung.games.gamenori.client.presenter;

import com.google.gwt.user.client.ui.Widget;
import com.google.web.bindery.event.shared.EventBus;

public class WelcomePresenter implements WelcomeView.Presenter {
  
  private final WelcomeView welcomeView;
  
  private EventBus eventBus;
  
  public WelcomePresenter(WelcomeView welcomeView) {
    this.welcomeView = welcomeView;
    this.welcomeView.setPresenter(this);
  }

  @Override
  public String mayStop() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public void start(EventBus eventBus) {
    this.eventBus = eventBus;
    
  }

  @Override
  public void stop() {
    // TODO Auto-generated method stub
    
  }

  @Override
  public Widget asWidget() {
    return getView().asWidget();
  }

  private WelcomeView getView() {
    return welcomeView;
  }
}
